/*
Kiwi Editor is a framework for building WYSIWYG web editors.
Copyright (C) 2011  Roosevelt de Lima Sardinha

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

Contact the author at roosevelt1@gmail.com (Roosevelt) 
*/

function font(select)
{		
	this.addFont = function(fontName, value)
	{
		select.options[select.options.length] = new Option(fontName, value);
	}
		
	this.removeFont = function()
	{

	}

	this.addFont('Arial', 'Arial, Helvetica, sans-serif');
	this.addFont('ArialBlack', "'Arial Black', Gadget, sans-serif");
	this.addFont('Bookman Old Style', "'Bookman Old Style', serif");
	this.addFont('Comic Sans', "'Comic Sans MS', cursive");
	this.addFont('Courier', 'Courier, monospace');
	this.addFont( 'Courier New', "'Courier New', Courier, monospace");
	this.addFont( 'Garamond', "Garamond, serif");
	this.addFont('Georgia', 'Georgia, serif');
	this.addFont('Impact', 'Impact, Charcoal, sans-serif');
	this.addFont( 'Lucida Console', "'Lucida Console', Monaco, monospace");
	this.addFont( 'Lucida Sans Unicode', "'Lucida Sans Unicode', 'Lucida Grande', sans-serif");
	this.addFont('MS Sans Serif', "'MS Sans Serif', Geneva, sans-serif");
	this.addFont( 'MS Serif', "'MS Serif', 'New York', sans-serif");
	this.addFont('Palatino Linotype', "'Palatino Linotype', 'Book Antiqua', Palatino, serif");
	this.addFont('Symbol',  "Symbol, sans-serif");
	this.addFont('Tahoma', "Tahoma, Geneva, sans-serif");
	this.addFont('Times New Roman', "'Times New Roman', Times, serif");
	this.addFont('Trebuchet MS', "'Trebuchet MS', Helvetica, sans-serif");
	this.addFont('Verdana',  "Verdana, Geneva, sans-serif");
	this.addFont('Webdings', "Webdings, sans-serif");
	this.addFont('Wingdings', "Wingdings, 'Zapf Dingbats', sans-serif"); 
}
